﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DDDProjectSample.Domain.Errors
{
    public class DomainError : ApplicationException
    {
        public DomainError() 
            : base()
        {
        }

        public DomainError(
                System.Runtime.Serialization.SerializationInfo info,
                System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        {
        }

        public DomainError(
                string message,
                Exception innerException)
            : base(message, innerException)
        {
        }

        public DomainError(string message)
            : base(message)
        {
        }
    }
}
